package com.iflytek.service.impl;

import com.iflytek.mapper.EquipmentMapper;
import com.iflytek.pojo.Equipment;
import com.iflytek.service.EquipmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentServiceImpl implements EquipmentService {


    @Autowired
    private EquipmentMapper equipmentMapper;

    @Override
    public int addEquipment(Equipment equipment) {
        return 0;
    }

    @Override
    public int updateEquipment(Equipment equipment) {
        return 0;
    }

    @Override
    public Equipment getOne(Integer eid) {
        return equipmentMapper.getOne(eid);
    }

    @Override
    public List<Equipment> list() {
        return null;
    }
}
